var frisby = require('frisby');

frisby.create('天气信息')
  .post('http://192.168.247.88:9090/hub/weather/getWeatherMessage', {
      'device-udid':'092700B6-2E6F-45D7-B55D-AEFACED48DDC',
      'AirportFourCode':'adcc'//机场四字码  多个机场用空格分隔
    })


    // .inspectJSON()
  .expectJSONTypes({
              'result': {
                       "weather-info-list": Array
                     }})

  .expectJSONTypes('result.weather-info-list.?', {
              "apt_code":String,
              "type":String,
	            "raw":String
            })
   .expectStatus(200)
.toss();
